package com.querie.dao;

import java.util.List;

import com.querie.model.beans.QueryLog;

public interface QuerylogDAO {
	public QueryLog load(final long queryid, final long sessionid) throws Exception;

	public int delete(final long queryid, final long sessionid) throws Exception;

	public int update(final QueryLog data) throws Exception;

	public long insert(final QueryLog data) throws Exception;

	public List<QueryLog> queryAll() throws Exception;

	public List<QueryLog> queryAllWithPage(int startOfPage, int...pageSize) throws Exception;

	public int countAll() throws Exception;

}